package com.qfedu.yanglao20admin.plancase.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author yujie
 * @data 2023/4/18 18:26
 */
@Slf4j
@Aspect
@Component
public class OperateAspect {

    // 针对指定的注解设置切点
    @Pointcut("@annotation(com.qfedu.yanglao20admin.plancase.annotation.OperateMethod)")
    public void pointcut() {
    }

    @Before("pointcut()")
    public void before(JoinPoint joinPoint) {


    }
}
